package ar.org.cfired.creditos.parametros;

public class TipoGrupo {

	private Integer dbid_;
	private String id_;
	
	public void setDbid_ (Integer dbid_) {
		this.dbid_ = dbid_;
	}
	public Integer getDbid_() {
		return (this.dbid_);
	}

	
	public void setId_ (String id_) {
		if (id_ != null)
			this.id_ = id_.substring(0, Math.min(255, id_.length()));
		else
			this.id_ = new String();
	}
	public String getId_() {
		return (this.id_);
	}
	
	public void parseObject(Object[] o) {

		//System.out.println(o.length);
		if (o.length == 2) {
			if (o[0] != null) this.setDbid_((Integer)o[0]);
			if (o[1] != null) this.setId_((String)o[1]);			
		}
		
	}
	
	
}
